import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'

import login from '../login.vue'
import home from '../home.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: '/login',
        component: login
    },
    {
        path: '/home',
        component: home
    }]
})

export default router